package org.neurone.userspace.userinfo;

import java.util.List;

import org.neurone.domain.UserInfo;
import org.neurone.domain.alter.UserInfoAlter;
import org.neurone.domain.persistence.UserInfoPersistence;

public interface UserMgr {
    Long newUser(UserInfo userInfo);
    void delete(Long userID);
    UserInfo find(Long userID);
    UserInfo find(String userName);
    List<UserInfo> findAll(int pageSize, int pageIndex);
    List<UserInfo> searchByUserName(String userName, int pageSize, int pageIndex);
    List<UserInfo> searchByRealName(String realName, int pageSize, int pageIndex);    
}
